﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SF.WebClient.Controllers
{
    public class ComboController : BasicController
    {
        #region setIcon 设置图标

        public ViewResult SetIconDemo()
        {
            return View();
        }

        public PartialViewResult SetIconSource()
        {
            return PartialView();
        }

        public void ViewSetIconSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/combo/jeasyui.extensions.combo.setIcon.js");
        }

        public PartialViewResult SetIconExplain()
        {
            return PartialView();
        }

        #endregion

        #region autoShowPanel 自动显示面板

        public ViewResult AutoShowPanelDemo()
        {
            return View();
        }

        public PartialViewResult AutoShowPanelSource()
        {
            return PartialView();
        }

        public void ViewAutoShowPanelSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/combo/jeasyui.extensions.combo.autoShowPanel.js");
        }

        public PartialViewResult AutoShowPanelExplain()
        {
            return PartialView();
        }

        #endregion

        #region setRequired 设置是否允许为空

        public ViewResult SetRequiredDemo()
        {
            return View();
        }

        public PartialViewResult SetRequiredSource()
        {
            return PartialView();
        }

        public void ViewSetRequiredSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/combo/jeasyui.extensions.combo.setRequired.js");
        }

        public PartialViewResult SetRequiredExplain()
        {
            return PartialView();
        }

        #endregion

        #region destroy 销毁

        public ViewResult DestroyDemo()
        {
            return View();
        }

        public PartialViewResult DestroySource()
        {
            return PartialView();
        }

        public void ViewDestroySource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/combo/jeasyui.extensions.combo.destroy.js");
        }

        public PartialViewResult DestroyExplain()
        {
            return PartialView();
        }

        #endregion

        #region setPrompt

        public ViewResult SetPromptDemo()
        {
            return View();
        }

        public PartialViewResult SetPromptSource()
        {
            return PartialView();
        }

        public void ViewSetPromptSource()
        {
            this.WriteSourceCode("/Scripts/jquery-easyui-extensions/combo/jeasyui.extensions.combo.setPrompt.js");
        }

        public PartialViewResult SetPromptExplain()
        {
            return PartialView();
        }

        #endregion
	}
}